TheSavageSam
2011-May-04 10:44 UTC
[R] Is this confict of different versions of R or something else?
Hello! I have had some problems lately with use of R at home and school. At my home laptop (Ubuntu linux 64bit & R-2.12.0) R works just fine. But when I take my codes to school(Windows XP 32bit & R-2.10.1 I think) and run those there those codes probably won't work. Functions as combinations() didn't work and expand.grid() worked a bit differently. About expand.grid I just couldn't pass a dataframe of parametres but I had to pass all the colums separately. Is this because my university has so old version of R? Or is it because I am using Linux at home? Or is it because some libraries aren't installed? I like R very much, but if there is difference between R in different operating systems, then I dislike that. Can you give me some tips how to avoid these problems? Install latest R to my university PC? I don't want to fall back at Windows users -category anymore. -- TheSavageSam -- View this message in context: http://r.789695.n4.nabble.com/Is-this-confict-of-different-versions-of-R-or-something-else-tp3495104p3495104.html Sent from the R help mailing list archive at Nabble.com.
Petr PIKAL
2011-May-04 14:30 UTC
[R] Odp: Is this confict of different versions of R or something else?
Hi r-help-bounces at r-project.org napsal dne 04.05.2011 12:44:04:> TheSavageSam <jujokopr at jyu.fi> > Odeslal: r-help-bounces at r-project.org > > > Hello! > > I have had some problems lately with use of R at home and school. At myhome> laptop (Ubuntu linux 64bit & R-2.12.0) R works just fine. But when Itake my> codes to school(Windows XP 32bit & R-2.10.1 I think) and run those there > those codes probably won't work. Functions as combinations() didn't workand> expand.grid() worked a bit differently. About expand.grid I justcouldn't> pass a dataframe of parametres but I had to pass all the columsseparately.> > Is this because my university has so old version of R? Or is it becauseI am> using Linux at home? Or is it because some libraries aren't installed? > I like R very much, but if there is difference between R in different > operating systems, then I dislike that.Hm. Untill now I thought that different versions are for introducing new features, properties or enhanced computing. You can not expect that everything what works in new version will work in any older version. There can be slight issues with different operation systems, however I believe the biggest problem is old R version in your school PC. Regards Petr> > Can you give me some tips how to avoid these problems? Install latest Rto> my university PC? I don't want to fall back at Windows users -category > anymore. > > -- > TheSavageSam > > -- > View this message in context: http://r.789695.n4.nabble.com/Is-this- >confict-of-different-versions-of-R-or-something-else-tp3495104p3495104.html> Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
David Winsemius
2011-May-04 15:06 UTC
[R] Is this confict of different versions of R or something else?
On May 4, 2011, at 3:44 AM, TheSavageSam wrote:> Hello! > > I have had some problems lately with use of R at home and school. At > my home > laptop (Ubuntu linux 64bit & R-2.12.0) R works just fine. But when I > take my > codes to school(Windows XP 32bit & R-2.10.1 I think) and run those > there > those codes probably won't work. Functions as combinations()> ?combinations No documentation for 'combinations' in specified packages and libraries: you could try '??combinations' So I (like you) don't have the package with combinations loaded.> didn't work and > expand.grid() worked a bit differently. About expand.grid I just > couldn't > pass a dataframe of parametres but I had to pass all the colums > separately.That is most probably a version difference. The Core group works very diligently to keep the versions returning the same results (when possible) on all platforms. Graphics and operating system-specific tasks (including clipboard access) are obvious exceptions.> > Is this because my university has so old version of R? Or is it > because I am > using Linux at home? Or is it because some libraries aren't installed? > I like R very much, but if there is difference between R in different > operating systems, then I dislike that. > > Can you give me some tips how to avoid these problems? Install > latest R to > my university PC? I don't want to fall back at Windows users -category > anymore. > > -- > TheSavageSam > > --David Winsemius, MD Heritage Laboratories West Hartford, CT