Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

36 results for “from:Frans Marcelissen”

Dealing with parentheses within variable names
Frans Marcelissen · Mar 1, 2013 · r-help

Try sub("[(]","", names(dataFrams) and sub("[)]","", names(dataFrams) Frans 2013/2/28 Jesus Munoz Serrano <jesusmunozserrano at gmail.com> > > Dear all > > I'm having some problems with a data set that has parenthesis within the variable names. A example of...

Multiple CSV files in different sheets of an Excel file
Frans Marcelissen · Jan 13, 2016 · r-help

Hi Mohse, You can do that with the append parameter of the write.xlsx routine in the xlsx package: xlsx::write.xlsx(file1,file='XXXXX.xlsx',sheetName = '1') xlsx::write.xlsx(file2,file='XXXXX.xlsx',sheetName = '2',append = T) Success...

Dealing with parentheses within variable names
Frans Marcelissen · Mar 1, 2013 · r-help

Sorry: > sub("[(]","", names(dataFrame) > > and > > sub("[)]","", names(dataFrame) > > Frans 2013/3/1 Frans Marcelissen <fransiepansiekevertje at gmail.com>: > Try > > sub("[(]","", names(dataFrams) > > and > > sub("[)]","", names(dataFrams) > > Frans > > > > > 2013/2/28 Jesus Munoz Serrano <jesusmunozserrano at gmail.com> >> >> Dear all >> >> I...

Help with functions as arguments
Frans Marcelissen · Feb 12, 2013 · r-help

Hi Ian, The remark of Rainer is correct, but I think the solution is very simpe: f1 = function(a) { b = a + 1 b } f2 = function(x, z) { y = x*z(x) -2 y } > f2(x = 3, z = f1) [1] 10...

Multiple CSV files in different sheets of an Excel file
Frans Marcelissen · Jan 13, 2016 · r-help

Hi Mohsen, Just read them with read.csv or read.table (file1<-read.csv(file=.....), and you can write them. Success! Frams 2016-01-13 15:47 GMT+01:00 Mohsen Jafarikia <jafarikia at gmail.com>: > Thanks Frans, > > My files...

Need help in installing packages in R
Frans Marcelissen · Feb 25, 2016 · r-help

Three remarks: 1. 'Install.Packages=="RODBC"' does nothing. Where did you find that? The command is install.packages("RODBC") 2. Sometimes it is a good idea to start reading a manual. 3. Please do not post in html Frans 2016...

variable (column) in a data frame
Frans Marcelissen · Jul 16, 2012 · r-help

Hoi Pauli, There is a difference between two ways of accessing columns in a matrex: > df$aaa NULL > df["AAA"] Error in `[.data.frame`(df, "AAA") : undefined columns selected So df["AAA"] or df[,"AAA"] gives the error message you...

Attaching a pdf file to an email generated with sendmailR?
Frans Marcelissen · Oct 8, 2015 · r-help

Hi Michael, I don't know whether there is a particulal reason for using sendmailR, but I use mailR for this without any problem. mailR::send.mail(from, to, subject = "", body = "", encoding = "iso-8859-1", html = FALSE, inline = FALSE, smtp...

Importing a CSV file
Frans Marcelissen · Sep 19, 2012 · r-help

Hi, Should'nt it be A <- read.csv("C:\\\\Users\\Anthi\\Desktop\\R\\A.csv", header=TRUE) (c:\\ becomes c:\ In general I think it is better to use / and //) Frans -----Oorspronkelijk bericht----- Van: r-help-bounces at r-project...

ggplot2: setting martin
Frans Marcelissen · Dec 23, 2012 · r-help

Hi Ista, Your suggestion is not the solution I need. My problem is that in this way each plot gets another margin. I try to create a presentation with about 10 plots.The presentation does'nt look well if each...

write.xlsx- writing in a single sheet
Frans Marcelissen · Jan 15, 2016 · r-help

Do you mean that you try to write several dataframes to the same sheet? You have asked this before, and I think it has been said that that is not possible with write.xls. I suppose that you still try...

dplyr or plyr or both?
Frans Marcelissen · Sep 15, 2016 · r-help

Hello Christopher and others : What cannot be stressed enough is: do not combine both packages, it gives errors and incorrect results! I will show that below -------------------------------------------------------- a<-data.frame(groep=1:4,v=1:40) library(dplyr) a %>% group_by...

Reformatting dataframe for use with icc()
Frans Marcelissen · Oct 10, 2015 · r-help

I think this is what reshape is made for... Frans -------------------------------------- rater.id <- c(1, 2, 1, 3, 2, 3) observation <- c(1, 1, 2, 2, 3, 3) rating <- c(6, 7, 4, 6, 2, 4) dat=data.frame(rater.id...

Running odfWeave on its own examples.odt
Frans Marcelissen · Aug 10, 2012 · r-help

Hi, I had the same problem unde linux. My friend Albert Jan Roskam knew the solution: add Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8") I suppose this also works under windows. Frans -----Oorspronkelijk bericht----- Van: r-help...

avoid <<- in specific case
Frans Marcelissen · Oct 5, 2012 · r-help

I agree with this. But there is (in my opinion) a much more dangerous point: a<b If there is an object called b in the function, it uses this b. But if you forgot to inialise b in the...

R and SSH / exchange R objects between client and server
Frans Marcelissen · Jan 1, 2013 · r-help

Hi Martin, In addition to what Duncan writes: I think winscp does exactly what you want. You can copy objects from/to linux, but also edit files from linux on the winduts machine without explicitly copying (of course you do...

Can't find what you're looking for? Try searching with Google .