search for: dev_mod

Displaying 6 results from an estimated 6 matches for "dev_mod".

Did you mean: dev_mode
2007 Jul 24
1
Custom kinit to find device by "label"
...it works fine. Because of the crash issue, I want to rewrite the program by modifying kinit and using C. This is where I need help. Here is the main function that needs to be translated into C: function FindRootDeviceByLabel(const RootFSLabel: string): boolean; const DEV_MAJOR: dev_t = 8; DEV_MODE: mode_t = S_IFBLK or &0660; var ActualFSLabel: string; FileDescriptor: cint; ReadBytes: TsSize; DeviceFound: boolean; dev_minor: dev_t; begin Result := False; SetLength(ActualFSLabel, Length(RootFSLabel)); //loop through all devices that might have our root filesystem sda2 to...
2012 Mar 02
0
devtools 0.6
...ting process of your package if you want to check the dependencies of your package * `strict` mode for `run_examples` which runs each example in a clean environment. This is much slower than the default (running in the current environment), but ensures that each example works standalone. * `dev_mode` now updates prompt to indicate that it's active (Thanks to Kohske Takahashi) * new `source_url` function for sourcing script on a remote server via protocols other than http (e.g. https or ftp). (Thanks to Kohske Takahashi) * new `source_gist` function to source R code stored in a githu...
2012 Mar 02
0
devtools 0.6
...ting process of your package if you want to check the dependencies of your package * `strict` mode for `run_examples` which runs each example in a clean environment. This is much slower than the default (running in the current environment), but ensures that each example works standalone. * `dev_mode` now updates prompt to indicate that it's active (Thanks to Kohske Takahashi) * new `source_url` function for sourcing script on a remote server via protocols other than http (e.g. https or ftp). (Thanks to Kohske Takahashi) * new `source_gist` function to source R code stored in a githu...
2011 Nov 15
1
grid.arrange, grid.layout - legend, global y axis title
...he function grid.arrange which can do both things but this isn't working because I am in the dev mode of ggplot. Then I get the error: Error: could not find function "ggplotGrob. I load my libraries the following way: 1) import data 2) load library(gridExtra) 3) load library(devtools) dev_mode(TRUE) library(ggplot2) library(reshape2) 4) produce plots 5) arrange the plots. So what is the best way to proceed? Should I stay with the grid.layout approach and can I get there a global legend and a global y axis title? Or how can I use grid.arrange, define the position of the gobal leg...
2012 Sep 02
1
Environment when NextMethod is used
...behavior. The package is called envtest, and it has a function called envtest(), which uses an S3 method from the nlme package. nlme is listed as an import. You can either clone the repository here: https://github.com/wch/envtest Or you can install it with devtools, using: library(devtools) dev_mode() install_github('envtest', 'wch') The envtest() function tries to index into a factor in different ways, and prints the output for each one. This is the content of the function. (If you load it from the global environment, it won't have the same error, since the issue has...
2012 Nov 14
1
devtools - document() weiredness
Hello, Please try this: > library(devtools) > create("mdaa") > setwd("mdaa") > dev_mode() d> install() Produces ...* DONE (mdaa) Reloading installed mdaa But when I then try to build documentation d> document() devtools/roxygen just hangs with a "?" like so: Updating mdaa documentation Loading mdaa ? I know this scenario is strange as there's no roxygenizable...