Re: [Rd] Rcmd install mypkg
This would seem to violate the user interface stereotype that command lines are case insensitive on Windows. On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/30/2006 10:54 PM, Gabor Grothendieck wrote: I noticed that in R version 2.4.0 alpha (2006-09-16 r39365) on Windows XP that I get this error: C:\RpkgsRcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\RpkgsRcmd check mypkg unlike install, still works in either lower or upper case in 2.4.0 alpha. This is a documented change--see the CHANGES file. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
Gabor Grothendieck wrote: This would seem to violate the user interface stereotype that command lines are case insensitive on Windows. This is an improvement. R tries to be as unique as possible on all platforms. Uwe Ligges On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/30/2006 10:54 PM, Gabor Grothendieck wrote: I noticed that in R version 2.4.0 alpha (2006-09-16 r39365) on Windows XP that I get this error: C:\RpkgsRcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\RpkgsRcmd check mypkg unlike install, still works in either lower or upper case in 2.4.0 alpha. This is a documented change--see the CHANGES file. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 10/1/06, Uwe Ligges [EMAIL PROTECTED] wrote: Gabor Grothendieck wrote: This would seem to violate the user interface stereotype that command lines are case insensitive on Windows. This is an improvement. R tries to be as unique as possible on all platforms. Not sure what the above means but if you mean it works the same on all platforms that is an error in the design of the software in my view. The objective should be that it fits into the environment its working in. Any Windows user can tell the difference between clunky UNIX-derived software which does not feel right on the Windows platform and software that adapts its interface to work like all other Windows programs in that environment. Uwe Ligges On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/30/2006 10:54 PM, Gabor Grothendieck wrote: I noticed that in R version 2.4.0 alpha (2006-09-16 r39365) on Windows XP that I get this error: C:\RpkgsRcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\RpkgsRcmd check mypkg unlike install, still works in either lower or upper case in 2.4.0 alpha. This is a documented change--see the CHANGES file. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 1 October 2006 at 08:53, Gabor Grothendieck wrote: | On 10/1/06, Uwe Ligges [EMAIL PROTECTED] wrote: | Gabor Grothendieck wrote: | This would seem to violate the user interface stereotype that | command lines are case insensitive on Windows. | | This is an improvement. R tries to be as unique as possible on all | platforms. | | Not sure what the above means but if you mean it works the same | on all platforms that is an error in the design of the software in my view. | The objective should be that it fits into the environment its working in. | | Any Windows user can tell the difference between clunky UNIX-derived | software which does not feel right on the Windows platform and | software that adapts its interface to work like all other Windows programs | in that environment. Generally speaking, I think many of us would beg to differ and much rather (continue to) see consistency of R across platforms. Personally speaking, I would think that taking what I consider to be a clunky OS and UI to be the gold standard as somewhat questionable. But that may just be me. Cheers, Dirk -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 10/1/06, Dirk Eddelbuettel [EMAIL PROTECTED] wrote: On 1 October 2006 at 08:53, Gabor Grothendieck wrote: | On 10/1/06, Uwe Ligges [EMAIL PROTECTED] wrote: | Gabor Grothendieck wrote: | This would seem to violate the user interface stereotype that | command lines are case insensitive on Windows. | | This is an improvement. R tries to be as unique as possible on all | platforms. | | Not sure what the above means but if you mean it works the same | on all platforms that is an error in the design of the software in my view. | The objective should be that it fits into the environment its working in. | | Any Windows user can tell the difference between clunky UNIX-derived | software which does not feel right on the Windows platform and | software that adapts its interface to work like all other Windows programs | in that environment. Generally speaking, I think many of us would beg to differ and much rather (continue to) see consistency of R across platforms. Personally speaking, I would think that taking what I consider to be a clunky OS and UI to be the gold standard as somewhat questionable. But that may just be me. Cheers, Dirk -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison I don't want to get into a debate on the merits of an OS but in terms of user interface principles one wants to fit into the environment that the software is working in rather than have the user familiarize themselves with multiple styles of interaction. If you are running UNIX and Windows you can expect differences when you move from one to the other but you do not expect differences when running one program vs. another in the same OS. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 10/1/2006 7:20 AM, Gabor Grothendieck wrote: This would seem to violate the user interface stereotype that command lines are case insensitive on Windows. And command options use a / prefix in Windows, but a - or -- prefix in R, and the path separator in Windows is \ in most places, but / is accepted in R. There are a large number of inconsistencies between Windows and other systems, and R mostly follows the GNU conventions; it's a GNU project, after all. Duncan Murdoch On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/30/2006 10:54 PM, Gabor Grothendieck wrote: I noticed that in R version 2.4.0 alpha (2006-09-16 r39365) on Windows XP that I get this error: C:\RpkgsRcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\RpkgsRcmd check mypkg unlike install, still works in either lower or upper case in 2.4.0 alpha. This is a documented change--see the CHANGES file. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 10/1/2006 7:20 AM, Gabor Grothendieck wrote: This would seem to violate the user interface stereotype that command lines are case insensitive on Windows. And command options use a / prefix in Windows, but a - or -- prefix in R, and the path separator in Windows is \ in most places, but / is accepted in R. There are a large number of inconsistencies between Windows and other systems, and R mostly follows the GNU conventions; it's a GNU project, after all. That's not a bad point but is there really any reason to make it even less windows-like? After all, it did work in either case before and windows filenames are case insensitive so its not like there is a valid distinction between install and INSTALL if the word refers to a filename. Duncan Murdoch On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 9/30/2006 10:54 PM, Gabor Grothendieck wrote: I noticed that in R version 2.4.0 alpha (2006-09-16 r39365) on Windows XP that I get this error: C:\RpkgsRcmd install mypkg no Perl script 'install' The same command worked with no error in 2.3.1pat. If I capitalize INSTALL it does work; however, this was not necessary previously. Note that C:\RpkgsRcmd check mypkg unlike install, still works in either lower or upper case in 2.4.0 alpha. This is a documented change--see the CHANGES file. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: So what I'd suggest you do if you find typing INSTALL to be painful is to install an alias or command script that wraps it up in a way that feels more comfortable to you. It would be possible to do some processing in Rcmd.bat in batchfiles but I am somewhat loathe to do that since it would result in a potential difference between Rcmd.bat in batchfiles and Rcmd delivered with R and right now its entirely consistent -- it just passes the command line right through. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
On 10/1/2006 4:30 PM, hadley wickham wrote: Requiring Perl script names to be specified in a case-sensitive way doesn't affect the R build process, but it does mean that a script written on Windows is slightly more likely to work when someone runs it on another platform. There's an install command in at least some flavours of Unix that would be invoked instead of R's INSTALL script if you said R CMD install on one of those platforms, and that's not a good thing. Will this be changing on OS X too? My version of 2006-09-20 r39433 accepts either upper or lower case commands. I think OS X uses the same scripts as other Unix platforms. So if they're happy working on a case-insensitive file system, it's unlikely we'll force a change, whether it would be a good idea or not. In fact, I'm fairly ambivalent about this one: I'm a long-time believer in case-insensitivity. I'd prefer if R were case-insensitive in all respects. However, it's not, so consistency pulls me to case-sensitivity. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rcmd install mypkg
I think the really annoying thing is that it was changed for the worse. Why not just keep it how it was before? On 10/1/06, Duncan Murdoch [EMAIL PROTECTED] wrote: On 10/1/2006 4:30 PM, hadley wickham wrote: Requiring Perl script names to be specified in a case-sensitive way doesn't affect the R build process, but it does mean that a script written on Windows is slightly more likely to work when someone runs it on another platform. There's an install command in at least some flavours of Unix that would be invoked instead of R's INSTALL script if you said R CMD install on one of those platforms, and that's not a good thing. Will this be changing on OS X too? My version of 2006-09-20 r39433 accepts either upper or lower case commands. I think OS X uses the same scripts as other Unix platforms. So if they're happy working on a case-insensitive file system, it's unlikely we'll force a change, whether it would be a good idea or not. In fact, I'm fairly ambivalent about this one: I'm a long-time believer in case-insensitivity. I'd prefer if R were case-insensitive in all respects. However, it's not, so consistency pulls me to case-sensitivity. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel