[R] Errors or warnings for non-existent data

2013-03-16 Thread brwin338
Good Evening Is there a setting that I can change in R so that I get either a warning or an error message if I reference non-existent data in a data frame? For example I get no warning or error message with the following: > set.seed(2013) > df0=data.frame(cbind(x=rnorm(1000),y=rnorm(1000)))

[R] A question with respect to capturing output from a shell command

2013-05-28 Thread brwin338
Good Evening I have a set of fortran code that prints results to the screen when executed from the dos shell under windows. I want to capture the screen output directly into R when the code is executed via a shell command. I find that we can do this when the code is compiled with Lahey's 32

[R] R and LINGO?

2010-06-16 Thread brwin338
to LINGO. Any help or suggestions would be appreciated. Brwin338 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] Difference between 10 and 10L

2012-05-03 Thread brwin338
Good Evening We have been searching through the R documentation manuals without success on this one. What is the purpose or result of the "L" in the following? n=10 and n=10L or c(5,10) versus c(5L,10L) Thanks Joe Thanks Joe [[alternative HTML version deleted]] _